#ifndef __APP_LIB_SYSTEM_V_SHM_H__
#define __APP_LIB_SYSTEM_V_SHM_H__

#ifdef __cplusplus
extern "C" {
#endif

#include "SystemV/AppLibSystemV_Base.hpp"

extern ULONG AppLibSystemV_ShmCreate(IN CHAR *pcFilePath, IN size_t size, INOUT SINT32 *piQueueId);
extern ULONG AppLibSystemV_ShmDestory(INOUT SINT32 *piQueueId);
extern ULONG AppLibSystemV_ShmAttach(IN SINT32 iQueueId, IN void **ppAddr);
extern ULONG AppLibSystemV_ShmDetach(INOUT void *pAddr);

#ifdef __cplusplus
}
#endif

#endif //__APP_LIB_SYSTEM_V_SHM_H__
